package cn.tom.entity;

public class Usr {
    private int id;
    private String account;
    private String password;
    private String role;
    private String phone;
    private int vip;
    private String addr;
    private int closed;
    private String nickname = "";
    private String img = "";
    private String email;

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNickname() {
        return this.nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getAccount() {
        return this.account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRole() {
        return this.role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPhone() {
        return this.phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getVip() {
        return this.vip;
    }

    public void setVip(int vip) {
        this.vip = vip;
    }

    public String getAddr() {
        return this.addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getImg() {
        return this.img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getClosed() {
        return this.closed;
    }

    public void setClosed(int closed) {
        this.closed = closed;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String toString() {
        return "Usr{id=" + this.id + ", nickname='" + this.nickname + "', account='" + this.account + "', password='" + this.password + "', role='" + this.role + "', phone='" + this.phone +", email='" + this.email + "', vip=" + this.vip + ", addr='" + this.addr + "', img='" + this.img + "', closed=" + this.closed + '}';
    }
}
